package com.park.web.service;

import com.park.web.model.domain.pbaOwnerOrganization;
import com.park.web.core.support.IService;
import com.park.web.model.vo.pbaOwnerOrganizationTreeVo;
import com.park.web.model.vo.pbaOwnerOrganizationVo;
import org.springframework.stereotype.Service;

import java.util.List;

public interface pbaOwnerOrganizationService extends IService<pbaOwnerOrganization> {

    boolean hasOrgCode(String orgCode);

    Integer deleteByOrgCode(String orgCode);

    List<pbaOwnerOrganizationTreeVo> selectAllTree(String parentOrganizationCode);

    List<pbaOwnerOrganizationVo> selectByParentOrgCodeTree(String parentOrganizationCode);
}